package com.jjb.www.http.api;

import com.hjq.http.annotation.HttpIgnore;
import com.hjq.http.config.IRequestApi;

import java.util.List;

/**
 * @author CRG
 * @date :2024/1/19 10:20
 * @description:
 */
public class LearningApi implements IRequestApi {
    @HttpIgnore
    private Integer id;

    public LearningApi setId(Integer id) {
        this.id = id;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/teach/v3/cert/promiseLogList/"+id;
    }
    public static class Bean{

        private InfoDTO info;
        private List<ListDTO> list;

        public InfoDTO getInfo() {
            return info;
        }

        public void setInfo(InfoDTO info) {
            this.info = info;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public static class InfoDTO {
            private Integer card_book_id;
            private String name;
            private String cert_num;
            private String post_name;
            private Integer expiry_date;
            private Integer xu_score;
            private String already_score;

            public Integer getCard_book_id() {
                return card_book_id;
            }

            public void setCard_book_id(Integer card_book_id) {
                this.card_book_id = card_book_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCert_num() {
                return cert_num;
            }

            public void setCert_num(String cert_num) {
                this.cert_num = cert_num;
            }

            public String getPost_name() {
                return post_name;
            }

            public void setPost_name(String post_name) {
                this.post_name = post_name;
            }

            public Integer getExpiry_date() {
                return expiry_date;
            }

            public void setExpiry_date(Integer expiry_date) {
                this.expiry_date = expiry_date;
            }

            public Integer getXu_score() {
                return xu_score;
            }

            public void setXu_score(Integer xu_score) {
                this.xu_score = xu_score;
            }

            public String getAlready_score() {
                return already_score;
            }

            public void setAlready_score(String already_score) {
                this.already_score = already_score;
            }
        }

        public static class ListDTO {
            private Integer id;
            private String content;
            private Integer get_score;
            private String create_time;
            private String img;
            private Integer teach_complete_log_id;
            private String get_score_desc;
            private List<String> img_url;

            public Integer getId() {
                return id;
            }

            public void setId(Integer id) {
                this.id = id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public Integer getGet_score() {
                return get_score;
            }

            public void setGet_score(Integer get_score) {
                this.get_score = get_score;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }

            public String getImg() {
                return img;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public Integer getTeach_complete_log_id() {
                return teach_complete_log_id;
            }

            public void setTeach_complete_log_id(Integer teach_complete_log_id) {
                this.teach_complete_log_id = teach_complete_log_id;
            }

            public String getGet_score_desc() {
                return get_score_desc;
            }

            public void setGet_score_desc(String get_score_desc) {
                this.get_score_desc = get_score_desc;
            }

            public List<String> getImg_url() {
                return img_url;
            }

            public void setImg_url(List<String> img_url) {
                this.img_url = img_url;
            }
        }
    }
}
